From 3686cbe4177972f564380f9e691cd4530a9b88b9 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Thu, 14 Aug 2025 13:59:52 +0200 Subject: [PATCH] python3: update to version 3.11.13 Release notes: https://docs.python.org/release/3.11.13/whatsnew/changelog.html#python-3-11-13 Fixes CVEs: CVE 2024-12718 CVE 2025-4138 CVE 2025-4330 CVE 2025-4517 Patch refreshed Signed-off-by: Josef Schlehofer --- lang/python/python3-version.mk | 2 +- lang/python/python3/Makefile | 2 +- .../python3/patches/027-fix-host-build-libressl.patch | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lang/python/python3-version.mk b/lang/python/python3-version.mk index 7bd437ef22..4cc337ada2 100644 --- a/lang/python/python3-version.mk +++ b/lang/python/python3-version.mk @@ -8,7 +8,7 @@ # Note: keep in sync with setuptools & pip PYTHON3_VERSION_MAJOR:=3 PYTHON3_VERSION_MINOR:=11 -PYTHON3_VERSION_MICRO:=10 +PYTHON3_VERSION_MICRO:=13 PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR) diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 944e94180a..c17c052738 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION) -PKG_HASH:=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372 +PKG_HASH:=8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a PKG_MAINTAINER:=Jeffery To PKG_LICENSE:=Python-2.0.1 0BSD diff --git a/lang/python/python3/patches/027-fix-host-build-libressl.patch b/lang/python/python3/patches/027-fix-host-build-libressl.patch index 19f5016e06..f45179d3b5 100644 --- a/lang/python/python3/patches/027-fix-host-build-libressl.patch +++ b/lang/python/python3/patches/027-fix-host-build-libressl.patch @@ -1,6 +1,6 @@ --- a/Modules/_ssl.c +++ b/Modules/_ssl.c -@@ -4541,7 +4541,7 @@ set_sni_callback(PySSLContext *self, PyO +@@ -4551,7 +4551,7 @@ set_sni_callback(PySSLContext *self, PyO return 0; } @@ -9,7 +9,7 @@ static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj) { int ok; -@@ -4614,7 +4614,11 @@ _ssl__SSLContext_cert_store_stats_impl(P +@@ -4624,7 +4624,11 @@ _ssl__SSLContext_cert_store_stats_impl(P int x509 = 0, crl = 0, ca = 0, i; store = SSL_CTX_get_cert_store(self->ctx); @@ -21,7 +21,7 @@ if (objs == NULL) { PyErr_SetString(PyExc_MemoryError, "failed to query cert store"); return NULL; -@@ -4669,7 +4673,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL +@@ -4679,7 +4683,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL } store = SSL_CTX_get_cert_store(self->ctx); -- 2.30.2